//状态定义，状态控制配置
var FirstChar_cmd=[
	{name:"jump",time:1},
	{name:"run",time:1}
]


var FirstChar_cns={
//[Velocity]
	"data":{
		bound_width:30,//体型判定矩形
		bound_height:90,
		jump_height:100,
	},

	//站
	"0":{
		def:{anim:"0",dir:1},
		trigger:[{type:"changestate",state:"100",command:"fwd"},
			{type:"changestate",state:"41",command:"jump"},
			{type:"changestate",state:"210",command:"attack_a"}]
	},
	//跑
	"100":{
		def:{anim:"100",dir:1},
		trigger:[{type:"changestate",state:"0",rcommand:"fwd"},
		{type:"velset",x:6.6},
		{type:"changestate",state:"41",command:"jump"}
		]
	},
	//跳
	"41":{
		def:{anim:"41"},
		trigger:[{type:"changestate",animtime:0,state:"0"}]
	},
	"210":{
		def:{anim:"210",dir:0},
		trigger:[{type:"changestate",animtime:0,state:"0"}]
	}
};